package com.nsu.cl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.nsu.cl.common.Base;
import lombok.Data;

/**
 * 学生表
 * @TableName student
 */
@TableName(value ="student")
@Data
public class Student extends Base implements Serializable {
    /**
     * 学生ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 学生简介
     */
    private String introducation;

    /**
     * 班级名称
     */
    private String clazzName;

    /**
     * role权限
     */
    @TableField(exist = false)
    String role = "student";

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}